{extend name="../application/public/base.html" /}
{block name="head"}{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right;margin-left: 10px;" onclick="location.reload()" title="刷新"><i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-tab layui-tab-card" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>所有维修配件</li>
							  	</ul>
							  	<div class="layui-card-body ">
		                            <form class="layui-form layui-col-space5">
		                                <div class="layui-input-inline layui-show-xs-block">
		                                    <label>产品分类:</label>
											<div class="layui-input-inline">
												<select name="contrller">
													<option value="">所有子分类</option>
													{volist name="cate" id="v"}
													<option value="{$v.category_id}">{$v.category_name}</option>
													{/volist}
												</select>
											</div>
		                                </div>
		                                <div class="layui-input-inline layui-show-xs-block">
		                                    <input type="text" name="keyword" placeholder="请输入关键字进行搜索" autocomplete="off" class="layui-input"></div>
		                                <div class="layui-input-inline layui-show-xs-block">
		                                    <button class="layui-btn" lay-submit="" lay-filter="sreach">
		                                        <i class="layui-icon">&#xe615;</i></button>
		                                </div>
		                            </form>
		                        </div>
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="all-goods" lay-filter="list">
									  	
									</table>
							  	</div>
							</div>
							<div class="layui-tab layui-tab-card" style="margin-bottom:15px;">
							  	<ul class="order_table">
									<li>已选择维修配件</li>
							  	</ul>
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="repair-goods" lay-filter="list">
									  	<!-- <thead>
											<tr>
												<th>序号</th>
												<th>产品编码</th>
												<th>产品名称</th>
												<th>产品分类</th>
												<th>产品子分类</th>
												<th>品牌</th>
												<th>型号</th>
												<th>属性</th>
												<th>颜色</th>
												<th>剩余数量</th>
												<th>单位</th>
												<th>零售单价(元)</th>
												<th>批发价(元)</th>
												<th>进货价(元)</th>
												<th>操作</th>
											</tr>
									  	</thead>
									  	<tbody id="repair-goods">
									  	</tbody> -->
									</table>
							  	</div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
	<script type="text/javascript" src="ADMIN_CUSTOM/js/repair/goods/edit_goods.js"></script> 
	<!-- 所有商品操作模版 -->
    <script type="text/html" id="all-oper">
		<div class="layui-btn" lay-event="purchase">缺货采购</div>
    </script>

    <script type="text/html" id="change-oper">
		<div class="layui-btn layui-bg-red" lay-event="cencel">取消</div>
    </script>
    <!-- 已选商品操作模版 -->
    <!-- <script id="repair_goods" type="text/html">
		<tr id="{{d.goods_id}}">
			<td>{{d.goods_id}}</td>
			<td>{{d.goods_sn}}</td>
			<td>{{d.goods_name}}</td>
			<td>{{d.category_name}}</td>
			<td>{{d.cate_name}}</td>
			<td>{{d.brand_name}}</td>
			<td>{{d.marker}}</td>
			<td>{{d.attribute_name}}</td>
			<td>{{d.colour_name}}</td>
			<td>{{d.number}}</td>
			<td>{{d.unit}}</td>
			<td>{{d.selling_price}}</td>
			<td>{{d.trade_price}}</td>
			<td>{{d.buying_price}}</td>
			<td class="td-manage">
				<div class="layui-btn layui-bg-red" lay-event="del">取消</div>
			</td>
    	</tr>
	</script> -->
{/block}